#pragma once

class CGISApplication;

struct CMousePoint 
{
public:
	CMousePoint(){m_x =0;m_y = 0;}
	CMousePoint(int x,int y){m_x = x;m_y =y;}
	int m_x;
	int m_y;
};

class CTool
{
public:
	CTool(CGISApplication* pApplication);
	virtual ~CTool() = 0;
	virtual const TCHAR* getName();
	virtual void OnLButtonDown(CMousePoint point);
	virtual void OnLButtonMove(CMousePoint point);
	virtual void OnLButtonUp(CMousePoint point);
	virtual void OnMouseWheel(CMousePoint point,double delta);
protected:
	CGISApplication* m_pApplication;
};
